﻿using Bricks.Component.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Bricks.Business.Models.ProjectContract
{
    [Description("项目")]
    public partial class ProjectInfo : EntityBase<Guid>
    {
        public ProjectInfo()
        {
            ID = GuidHelper.NewGuid();
        }

        [StringLength(64)]
        [Display(Name = "项目编码")]
        public string ProjectCode { get; set; }

        [StringLength(64)]
        [Display(Name = "项目名称")]
        public string ProjectName { get; set; }

        [Display(Name = "登记人")]
        public Guid RegisterUserID { get; set; }

        [StringLength(64)]
        [Display(Name = "登记日期")]
        public string RegisterDate { get; set; }

        [StringLength(256)]
        [Display(Name = "建设类别")]
        public string BuildType { get; set; }

        [StringLength(256)]
        [Display(Name = "投资类别")]
        public string InvestType { get; set; }

        [Display(Name = "建设内容")]
        public string BuildContent { get; set; }

        [StringLength(1024)]
        [Display(Name = "描述")]
        public string Description { get; set; }

        [Display(Name = "附件")]
        public string Attachment { get; set; }

        [Display(Name = "排序")]
        public int OrderNo { get; set; }

        [Display(Name = "更新时间")]
        public DateTime? UpdateTime { get; set; }
    }
}
